package com.zrf.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Storage entity. @author MyEclipse Persistence Tools
 */

public class Storage implements java.io.Serializable {

	// Fields

	private Integer sid;
	private String sname;
	private Integer stype;
	private String saddress;
	private Integer smaxnum;
	private Set checks = new HashSet(0);
	private Set users = new HashSet(0);
	private Set manifests = new HashSet(0);

	// Constructors

	/** default constructor */
	public Storage() {
	}

	/** full constructor */
	public Storage(String sname, Integer stype, String saddress,
			Integer smaxnum, Set checks, Set users, Set manifests) {
		this.sname = sname;
		this.stype = stype;
		this.saddress = saddress;
		this.smaxnum = smaxnum;
		this.checks = checks;
		this.users = users;
		this.manifests = manifests;
	}

	// Property accessors

	public Integer getSid() {
		return this.sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getSname() {
		return this.sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public Integer getStype() {
		return this.stype;
	}

	public void setStype(Integer stype) {
		this.stype = stype;
	}

	public String getSaddress() {
		return this.saddress;
	}

	public void setSaddress(String saddress) {
		this.saddress = saddress;
	}

	public Integer getSmaxnum() {
		return this.smaxnum;
	}

	public void setSmaxnum(Integer smaxnum) {
		this.smaxnum = smaxnum;
	}

	public Set getChecks() {
		return this.checks;
	}

	public void setChecks(Set checks) {
		this.checks = checks;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

	public Set getManifests() {
		return this.manifests;
	}

	public void setManifests(Set manifests) {
		this.manifests = manifests;
	}

}